package com.stormrage.entity.ent.rep;

import java.io.Serializable;

import com.stormrage.entity.ent.EntAcct;

public class EntAcctRep implements Serializable {

	// ------------------------------- Fields -------------------------------

	private static final long serialVersionUID = -3714421663461717977L;

	// ------------------------------- Fields -------------------------------

	private Integer seq;

	private Integer id;

	private Integer entId;

	private String acct;

	private String realName;

	private String enterprise;

	// ------------------------------- Fields -------------------------------

	public EntAcctRep() {
	}

	// ------------------------------- Fields -------------------------------

	public Integer getSeq() {
		return seq;
	}

	public void setSeq(Integer seq) {
		this.seq = seq;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getEntId() {
		return entId;
	}

	public void setEntId(Integer entId) {
		this.entId = entId;
	}

	public String getAcct() {
		return acct;
	}

	public void setAcct(String acct) {
		this.acct = acct;
	}

	public String getRealName() {
		return realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getEnterprise() {
		return enterprise;
	}

	public void setEnterprise(String enterprise) {
		this.enterprise = enterprise;
	}

	// ------------------------------- Fields -------------------------------

	public static EntAcctRep instance(EntAcctRep entity, Integer seq) {
		entity.setSeq(seq);
		return entity;
	}

	public static EntAcctRep instance(EntAcct arg0, Integer seq) {
		EntAcctRep entity = new EntAcctRep();
		entity.setSeq(seq);
		entity.setId(arg0.getId());
		entity.setAcct(arg0.getAcct());
		entity.setRealName(arg0.getRealName());
		entity.setEntId(arg0.getEntId());
		return entity;
	}

	@Override
	public String toString() {
		return this.getClass() + " : seq - " + seq + " id - " + id + " acct - " + acct + " realName - " + realName
				+ " enterprise - " + enterprise;
	}

}
